package com.weightx.weight.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class data {
    @JsonProperty("dataid")
    private Long dataid;
    @JsonIgnore
    private Long userid;
    private Float weight;
    @JsonProperty("dateFull")
    private Date date;
    private Integer type;
    @JsonProperty("date")
    @TableField(exist = false)
    private String date2;
}
